@echo off
set port=7070
for /f "tokens=1-5" %%i in ('netstat -ano^|findstr ":%port%"') do taskkill /pid %%m /f

set BUILD_ID=dontKillMe
start javaw -Dfile.encoding=utf-8 -jar app.jar --server.port=7070

exit 0